package com.countryside.service;

import com.countryside.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;


public interface UserService {
    int addUser(User user);
    User queryUserByUsernameAndPassword(String username, String password);
    int updateUser(User user);
    User queryUserByUsername(String username);
    int updateImgByUserId(String id, String userImg);
}
